//
//  SmallDecisionsPkpCell.m
//  SmallDecisions
//
//  Created by 李付雄 on 2025/8/6.
//

#import "SmallDecisionsPkpCell.h"

@implementation SmallDecisionsPkpCell
- (instancetype)initWithFrame:(CGRect)frame {
    
    self = [super initWithFrame:frame];
    if(self) {
        self.backgroundColor = [UIColor clearColor];
        self.contentView.backgroundColor = [UIColor clearColor];
        [self createCellSubviewsUI];
    }
    
    return self;
}
- (void)layoutSubviews {
    [super layoutSubviews];
    
    [self.imageView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.right.bottom.top.mas_offset(0);
    }];
}

- (void)createCellSubviewsUI {
    UIImageView *imageView = [[UIImageView alloc] init];
    imageView.contentMode = UIViewContentModeScaleAspectFit;
    [self.contentView addSubview:imageView];
    self.imageView = imageView;
}

@end
